//#include  <stdio.h>
//double f1(double  x)                                    
//{  return x*x;  }
//double f2(double  x, double  y)
//{  return  x*y;  }
///**********found**********/
//double fun(int  i, double  x, double  y)
//{ if (i==1)
///**********found**********/
//    return f1(x);
//  else
///**********found**********/
//    return  f2(x, y);
//}
//main()
//{ double  x1=5, x2=3, r;
//  r = fun(1, x1, x2);
//  r += fun(2, x1, x2);
//  printf("\nx1=%f, x2=%f, x1*x1+x1*x2=%f\n\n",x1, x2, r);
//}
//int main(void)
//{  
//	int sum(a,b)
// 	{  	
//		return(a+b);
// 	}
//	int x=1,y=2;
// 	printf("%d\n",sum(x,y));
// 	return 0;
//}
//#include    <stdio.h>
///**********found**********/
//char fun(char  ch)
//{
///**********found**********/
//   if (ch>='0' && ch<='9')
///**********found**********/
//      return  '9'- (ch-'0');
//   return  ch ;
//}
//main()
//{  char  c1, c2;
//   printf("\nThe result  :\n");
//   c1='2';   c2 = fun(c1);
//   printf("c1=%c    c2=%c\n", c1, c2);
//   c1='8';   c2 = fun(c1);
//   printf("c1=%c    c2=%c\n", c1, c2);
//   c1='a';   c2 = fun(c1);
//   printf("c1=%c    c2=%c\n", c1, c2);
//}
#include     <stdio.h>
int fun(char  s[])
{  int i, n;
   n=0;
/**********found**********/
   for(i=0; s[i] !=0; i++)
/**********found**********/
      if(s[i]>='0'&&s[i]<= '9') n++;
/**********found**********/
    return n;
}
main()
{  char  s[80]="abcdef35adgh3kjsdf7";
   int t;
   printf("\nThe original string is :  %s\n",s);
   t=fun(s);
   printf("\nThe result is :  %d\n",t);
}
